const hotel = {
  state: {
    hotelList: [],
    hotelInventoryCalendarValue: null
  },
  mutations: {
    SET_HOTEL_LIST(state, data) {
      state.hotelList = data
    },
    SET_HOTEL_VALUE(state ,obj) {
      state[obj.key] = obj.data
    }
  },
  actions: {
    setHotelList({commit}, data) {
      commit("SET_HOTEL_LIST", data)
    },
    setHotelValue({commit}, obj) {
      commit("SET_HOTEL_VALUE", obj)
    }
  }
}
export default {
  state: hotel.state,
  actions: hotel.actions,
  mutations: hotel.mutations
}
